package com.hrms.web.sys_user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hrms.web.sys_menu.entity.AssignTreeParm;
import com.hrms.web.sys_menu.entity.AssignTreeVo;
import com.hrms.web.sys_user.entity.SysUser;

/**
 * @Title: SysUserService
 * @Author zhanji
 * @Package com.hrms.web.sys_user.service
 * @description:
 */
public interface SysUserService extends IService<SysUser> {
    //新增
    void saveUser(SysUser user);
    //编辑
    void editUser(SysUser user);
    //删除
    void deleteUser(Long userId);
    //查询菜单树
    AssignTreeVo getAssignTree(AssignTreeParm parm);
    //根据用户名查询
    SysUser loadUser(String username);
}
